package com.njlime.cms.repository.app;

import com.njlime.cms.entities.InformationMotion;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-10-17.
 */
public interface AppInformationMotionDao extends JpaRepository<InformationMotion, Integer>,JpaSpecificationExecutor<InformationMotion> {
    InformationMotion getInformationMotion(int id, int user_id);
    Map<String,Object> getMostMotion(int id);
}
